package com.hj.security.xss;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.Collections;
import java.util.List;

/**
 * @author hj
 * @Date 2023/4/26
 * @Description: xss配置项
 */
@Data
@ConfigurationProperties(prefix = "hj.xss")
public class XssProperties {

    /**
     * 是否开启 XSS
     */
    private boolean enabled;

    /**
     * 排除的URL列表
     */
    private List<String> excludeUrls = Collections.emptyList();

}
